<template>
    <div class="input-box bgcFFF text-c">
        <span class="inline-block fs14" @click="handleSearch">
          <i class="iconfont iconsousuo1 fs13"></i>
          {{placeholderText}}
        </span>
    </div>
</template>

<script type="text/ecmascript-6">

    export default {
        data() {
            return {
            }
        },
        props:['placeholderText'],
        methods:{
            handleSearch(){
                this.$emit('clickSearch')
            }
        }
    }
</script>

<style scoped lang="scss">
    @import '../assets/css/base.scss';

    .input-box{
        height: 44px;
        padding: 7px 15px;
        box-sizing: border-box;

        span{
            background-color: #F5F5F7;
            width: 100%;
            height: 29px;
            line-height: 29px;
            border-radius: 22px;
            color: #C5C5CC;
        }
    }
</style>